package com.ewzj.bigdata.mvp.contract

import com.ewzj.bigdata.mvp.model.reqbean.ReqSearchCityBean
import com.ewzj.bigdata.mvp.model.rspbean.BaseData
import com.ewzj.bigdata.mvp.model.rspbean.CitySearchBean
import com.jess.arms.mvp.BaseModel
import com.jess.arms.mvp.IModel
import com.jess.arms.mvp.IView
import io.reactivex.Observable

/**
 * author:zhangjing
 * 作用:
 * return:
 */
interface MainContract {
    interface View :IView{
        fun initCityName(city:String)
    }
    interface Model :IModel{
        fun getCityByname(city: String) :Observable<BaseData<CitySearchBean>>
    }
}